﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.User
{
    public class AddUserCommand : IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        public string Pwd {  get; set; }
        /// <summary>
        /// 所在省份
        /// </summary>
        public string Shnegid { get; set; }
        /// <summary>
        /// 所在市
        /// </summary>
        public string ShiId { get; set; }
        /// <summary>
        /// 所在县
        /// </summary>
        public string XianId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int Bid { get; set; }
        /// <summary>
        /// 地址详情
        /// </summary>
        public string AddDesc { get; set; }
    }
}
